import { request } from "./request";

export function getUser(user_id, user_password) {
    return request({
        url: '/Login/login',
        params: {
            user_id,
            user_password
        }
    })
}

export function getHomeGoods(type, page) {
    return request({
        url: '/home/data',
        params: {
            type,
            page
        }
    })
}